    	<div class="position">当前位置：
            <a href="<?php echo Yii::app()->createUrl('member/index/index');?>"><?php echo t('Member','web') ?></a> &gt; <a href="<?php echo Yii::app()->createUrl('member/index/orders');?>">帐户管理</a> &gt; 个人资料</div>
        <div class="hr_15"></div>
		<div class="steps">
            <ul class="fs_14 c_f">
                <li class="cur first"><span class="one">第一步,买家申请退款</span></li>
                <li class=""><span class="two">第二步，卖家处理退款申请</span></li>
                <li class="last"><span class="three">第三步，退款成功</span></li> 
            </ul>
        </div>
        <div class="hr_20"></div>
        <!--退款管理 start-->
        <div class="refund_box step_box">
            <!--已发货退款  start-->
            <!--填写发货信息 start -->
            <div class="step_info shipments">
				<?php 
                    $form = $this->beginWidget('CActiveForm', 
                    array(
                    'id'=>'user-form',
                    'action'=>Yii::app()->createUrl('member/index/shipment'),	
                    'enableAjaxValidation'=>false,
                    'enableClientValidation'=>true,	
                    'clientOptions'=>array( 
                        'id'=>'addressFrm',
                    ),
                    )); ?>
                    <?php echo $form->hiddenField($model,'zr_id',array()); ?>
                    <h3 class="fs_14">填写发货信息</h3>
                    <div class="address fs_14"><span class="ico ico_tip"></span>退货地址：<?php echo $address;?></div>
                    <ul class="form_list">
                        <li><span class="tit"><em class="xing">*</em>物流公司：</span>
							<?php echo $form->dropDownList($model,'zr_exp_name',$this->refundReason,array('class'=>'s_ipt','id'=>'changeLevel')); ?>
                        </li>
                        <li><span class="tit"><em class="xing">*</em>运单号码：</span>
                        	<?php echo $form->textField($model,'zr_exp_code',array('class'=>'t_ipt')); ?>
                        </li>
                        <li><span class="tit">退款说明：</span>
							<?php echo $form->textArea($model,'zr_content',array('class'=>'t_area')); ?>
                        </li>
                        <li class="link"><span class="tit"></span><input class="mem_btn mem_btn05" type="submit" name="" value="立即发货" /></li>
                    </ul>
            	<?php $this->endWidget(); ?>
            </div>
            <!--填写发货信息 end -->
            <!--发货成功 start -->
            <div class="step_info">
            	<div class="step_status">
                	<div class="status">
                        <p><span class="ico_big ico_done"></span><strong class="fs_14">发货成功！等待卖家确认收货！</strong></p>
                        <p class="c_999">提示：如果卖家在 15天 0 小时 0 分 0 秒  之内没有确认收货。系统将自动退款给买家！</p>
                    </div>
                </div>
                <div class="info">
                	<h3>物流信息</h3>
                    <ul class="form_list">
                        <li><span class="tit">物流公司：</span><span>畅通速递</span></li>
                        <li><span class="tit">运单号码：</span><span>256366556</span></li>
                        <li><span class="tit">退货说明：</span><span>已经发货</span></li>
                    </ul>
                </div>
                <ul class="form_list">
                    <li><span class="tit">售后编号：</span><span><?php echo $model->zr_id;?></span></li>
                    <li><span class="tit">申请售后时间：</span><span><?php echo date('Y-m-d H:i:s',$model->inputtime);?></span></li>
                    <li><span class="tit">售后类型：</span><span>买家已收到货，需退货</span></li>
                    <li><span class="tit">售后状态：</span><span>已退货，等待卖家确认</span></li>
                    <li><span class="tit">需要退款金额：</span><span><strong class="c_f60"><?php echo $model->zr_amount;?></strong> 元</span></li>
                    <li><span class="tit">售后原因：</span><span><?php echo $this->refundReason[$model->zr_reason];?></span></li>
                    <li><span class="tit">售后说明：</span><span><?php echo $model->zr_content;?></span></li>
                    <li class="c_f"><span class="tit f_l">凭证：</span>
                        <div class="cert_img f_l">
                            <ul class="c_f">
                                <li><img src="images/cert_img.jpg" alt="" /></li>
                                <li><img src="images/cert_img.jpg" alt="" /></li>
                                <li><img src="images/cert_img.jpg" alt="" /></li>
                            </ul>
                        </div>
                    </li>
                </ul>           
            </div>
            <!--发货成功 end -->
            <!--已发货退款  end -->
            <table class="list_table" cellpadding="0" cellspacing="0" width="100%">
            	<tr>
                	<th width="35%">宝贝信息</th>
                    <th width="15%">卖家</th>
                    <th width="12%">单价（元）</th>
                    <th width="12%">数量</th>
                    <th width="14%">优惠</th>
                    <th width="12%">小计（元）</th>
                </tr>
                <tr>
                	<td class="pro tl">
                    	<div class="c_img c_img50"><a href="<?php echo Yii::app()->createUrl('home/product/detail',array('id'=>$product['zp_id']));?>" title=""><img width="50" height="50" src="<?php echo $product->zp_pic; ?>" alt="" /></a></div>
                   		<p class="title_pro"><a class="c_06c" href="<?php echo Yii::app()->createUrl('home/product/detail',array('id'=>$product['zp_id']));?>" title="<?php echo $product['zp_name'];?>"><?php echo $product['zp_name'];?></a></p>
                    </td>
                    <td><a class="c_06c" href="<?php echo Company::createCompanyUrl($product->company->zc_sub_domain);?>" title=""><?php echo $product->company->zc_name;?></a></td>
                    <td><?php echo $ordproduct->zop_real_price;?></td>
                    <td><?php echo $ordproduct->zop_nums;?></td>
                    <td>
                    	<?php 
							foreach($discount as $key=>$value){
								echo OrdDiscount::getDiscountType($value->zod_type).'：-'.$value->zod_price.'</br>';
							}
						?>
                    </td>
                    <td><span class="fw_b fs_14 c_f60"><?php echo $ordproduct->zop_real_price*$ordproduct->zop_nums;?></span></td>
                </tr>
            </table>
        </div>
    	<!--退款管理 end-->